Collection Item Categories
QuickDraw GX assigns collection object items to several collection item categories. QuickDraw GX tag categories are defined in the collection tag category enumeration, represented by gxCollectionCategory:
typedef short gxCollectionCategory; enum { gxNoCollectionCategory = (gxCollectionCategory) 0x0000, gxOutputDriverCategory = (gxCollectionCategory) 0x0001, gxFormattingDriverCategory = (gxCollectionCategory) 0x0002, gxDriverVolatileCategory = (gxCollectionCategory) 0x0004, gxVolatileOutputDriverCategory = gxOutputDriverCategory + gxDriverVolatileCategory, gxVolatileFormattingDriverCategory = gxFormattingDriverCategory + gxDriverVolatileCategory };Constant descriptions
- gxNoCollectionCategory
- The item persists whether or not a printer-driver switch occurs or the collection is flattened.
- gxOutputDriverCategory
- The item is affected by a change in the output printer driver.
- gxFormattingDriverCategory
- The item is affected by a change in the formatting printer driver.
- gxDriverVolatileCategory
- The item is affected by a change in either the output printer driver or formatting printer driver. The item is purged when the collection is flattened if the
collectionPersistenceBit
is also set.- gxVolatileOutputDriverCategory
- The item is purged if the output printer driver changes.
- gxVolatileFormattingDriverCategory
- The item is purged if the formatting printer driver changes.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help